home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 1830 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: news.rain.org!ppp:stevec
  2. From: stevec@rain.org (Steve Childress)
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: Looking for Autobauding Algorithms
  5. Date: Wed, 17 Jan 96 06:41:52 GMT
  6. Organization: Self
  7. Message-ID: <4di5ng$39k_001@news.rain.org>
  8. References: <PORTZ.96Jan12084911@delilah.westend.com> <4d6n9h$p2o@nnrp1.news.primenet.com>
  9. NNTP-Posting-Host: @user11.term1.ventura.rain.org
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <4d6n9h$p2o@nnrp1.news.primenet.com>, billy@mix.com wrote:
  13. >Michael Portz <portz@westend.com> writes:
  14. >
  15. >> I have a question concerning the realization of algorithms to
  16. >> automatically detect the incoming baudrate: 
  17. >
  18. >> - What algorithms are used?
  19. >> - Can it be done with a 16550-stylish UART or does it have to be
  20. >>   something like a microcontroller.
  21. >
  22. >This is done by settingthe port to a certain speed, like 9600, then
  23. >having the usr type a char such as a return.  Depending on the speed
  24. >this will either generate a return or some other char, which is then
  25. >looked up in a table to get the speed that corresponds with it.
  26. >
  27. >I don't know about the 16550 in particular, but with some UARTs you
  28. >have to drop to 2400 or so and try again if the 9600 test fails.  And
  29. >I have to use different lookup tables for different hardware, at least
  30. >in the DEC world.
  31. >
  32. >Billy Y..
  33.  
  34. I understand that autobaud is done, within the modem, by measuring the
  35. period of the start bit, given that the bit after the start bit is 
  36. of the opposite polarity,e.g. the "A" in "AT<return>".  Given the
  37. period of the start bit, the low level software can determine the
  38. timing of the rest of the bits.
  39.  
  40. I do not think your method is usable because of the order of magnitude
  41. difference and unpredictability of the bit-synch at the character
  42. level, vice the bit level which I describe.
  43.  
  44. stevec@rain.org
  45.  
  46.